﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainSite.Master" AutoEventWireup="true" CodeBehind="EvaluationFillingMode.aspx.cs" Inherits="BSCMFF.Web.Pages.Evaluation_Setup.EvaluationFillingMode" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>
<%--<%@ Register Src="~/UserControls/Evaluation/CascadePKPIs.ascx" TagPrefix="bsc" TagName="CascadeKPIs" %>--%>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    
<div>
    <%--<fieldset>--%>
        <bsc:EvaluationDetails ID="ed" runat="server" IsEditMode="false" />
    <%--</fieldset>--%>
</div>

    <asp:HiddenField ID="HiddenFiledEmployeeID" runat="server" Value="0" />
<div>
    <fieldset>
        <%--<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
        </telerik:RadAjaxLoadingPanel>
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" >--%>
            <div style="float:left; padding-left:5px">
                <h2>
                    <asp:Label ID="LabelEmployee" runat="server" Text="Employee" 
                        meta:resourcekey="LabelEmployeeResource1" ></asp:Label>
                </h2>
                <div style="float:left">
                    <asp:Label ID="LabelFullname" runat="server" Text="Fullname" 
                        meta:resourcekey="LabelFullnameResource1" ></asp:Label>
                    <br />
                    <asp:Label ID="LabelDepartment" runat="server" Text="Department" 
                        meta:resourcekey="LabelDepartmentResource1" ></asp:Label>
                    <br />
                    <asp:Label ID="LabelJobPosition" runat="server" Text="Job Position" 
                        meta:resourcekey="LabelJobPositionResource1" ></asp:Label>

                </div>
                <div id="divCurrentEmployee"  style="float:left; margin-left:10px; font-style:oblique">
                    <asp:Label ID="LabelCurrentFullname" runat="server" Text="Fullname" 
                        meta:resourcekey="LabelCurrentFullnameResource1" ></asp:Label>
                    <br />
                    <asp:Label ID="LabelCurrentDepartment" runat="server" Text="Department" 
                        meta:resourcekey="LabelCurrentDepartmentResource1" ></asp:Label>
                    <br />
                    <asp:Label ID="LabelCurrentJobPosition" runat="server" Text="Job Position" 
                        meta:resourcekey="LabelCurrentJobPositionResource1" ></asp:Label>
                </div>
            </div>
            <div style="float:right; padding-right:5px">
                <h2>
                    <asp:Label ID="LabelEvaluator" runat="server" Text="Evaluator" 
                        meta:resourcekey="LabelEvaluatorResource1" ></asp:Label>
                </h2>
                <div style="float:left">
                    <asp:Label ID="LabelEvaluatorFullname" runat="server" Text="Fullname" 
                        meta:resourcekey="LabelEvaluatorFullnameResource1" ></asp:Label>
                    <br />
                    <asp:Label ID="LabelEvaluatorDepartment" runat="server" Text="Department" 
                        meta:resourcekey="LabelEvaluatorDepartmentResource1" ></asp:Label>
                    <br />
                    <asp:Label ID="LabelEvaluatorJobPosition" runat="server" Text="Job Position" 
                        meta:resourcekey="LabelEvaluatorJobPositionResource1" ></asp:Label>

                </div>
                <div id="div1"  style="float:left; margin-left:10px; font-style:oblique">
                    <asp:Label ID="LabelCurrentEvaluatorFullname" runat="server" Text="Fullname" 
                        meta:resourcekey="LabelCurrentEvaluatorFullnameResource1" ></asp:Label>
                    <br />
                    <asp:Label ID="LabelCurrentEvaluatorDepartment" runat="server" 
                        Text="Department" meta:resourcekey="LabelCurrentEvaluatorDepartmentResource1" ></asp:Label>
                    <br />
                    <asp:Label ID="LabelCurrentEvaluatorJobPosition" runat="server" 
                        Text="Job Position" 
                        meta:resourcekey="LabelCurrentEvaluatorJobPositionResource1" ></asp:Label>
                </div>
            </div>

            <%--<div style="float:right; height: 92px;">
                <bsc:EmployeeSelection ID="EmployeeSelection1" runat="server"   />
            </div>
        </telerik:RadAjaxPanel>--%>
    </fieldset>
    <asp:PlaceHolder ID="PlaceHolderInterviewPart" runat="server" Visible="False"  >   
        <fieldset>
            <div >
                <asp:Panel ID="PanelEvalInterview" runat="server" 
                    meta:resourcekey="PanelEvalInterviewResource1" >
                    Interview
                    <fieldset>
                        <div>
                            <asp:Label ID="LabelDateOfInterview" runat="server" Text="Date Of Interview" 
                                meta:resourcekey="LabelDateOfInterviewResource1" ></asp:Label>
                            <%--<telerik:RadDatePicker ID="RadDatePickerDateOfInterview" runat="server" ></telerik:RadDatePicker>--%>
                            <asp:Label ID="LabelCurrentDateOfInterview" runat="server" 
                                meta:resourcekey="LabelCurrentDateOfInterviewResource1" ></asp:Label>
                        </div>
                    </fieldset>
                </asp:Panel>
            </div>
        </fieldset>
    </asp:PlaceHolder>
    <asp:PlaceHolder ID="PlaceHolderPKPIsPart" runat="server" Visible="False" >
        <fieldset>
            <div>
                <asp:Panel ID="PanelPKPIs" runat="server" 
                    meta:resourcekey="PanelPKPIsResource1" >
                    PKPIs
                    <fieldset>
                        <div>
                            <asp:Panel ID="PanelScale" runat="server" 
                                meta:resourcekey="PanelScaleResource1" >
                                <asp:Label ID="LabelOrientationScale" runat="server" 
                                Text="Orientation Scale" meta:resourcekey="LabelOrientationScaleResource1">
                                </asp:Label>

                                <table>
                                    <tr>
                                        <td>
                                            <asp:Label ID="LabelMinScore" runat="server" Text="Min" 
                                                meta:resourcekey="LabelMinScoreResource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="LabelCurrentMinScore" runat="server" Text="0" 
                                                meta:resourcekey="LabelCurrentMinScoreResource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="LabelTo1" runat="server" Text="To" 
                                                meta:resourcekey="LabelTo1Resource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxTo1" runat="server" 
                                                MinValue="0" MaxValue="120" Value="40" ShowSpinButtons="true"
                                                Width="40" LabelCssClass="" 
                                                meta:resourcekey="RadNumericTextBoxTo1Resource1">
                                            <NumberFormat DecimalDigits="0" />    
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td>
                                            <telerik:RadTextBox ID="RadTextBoxVerbal1" runat="server" 
                                            Text="Employee doesn't full fill his targets" Width="300" LabelCssClass="" 
                                                meta:resourcekey="RadTextBoxVerbal1Resource1"></telerik:RadTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="LabelFrom2" runat="server" Text="From" 
                                                meta:resourcekey="LabelFrom2Resource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxFrom2" runat="server" 
                                                MinValue="0" MaxValue="120" Value="41" ShowSpinButtons="true"
                                                Width="40" LabelCssClass="" 
                                                meta:resourcekey="RadNumericTextBoxFrom2Resource1">
                                            <NumberFormat DecimalDigits="0" />    
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="LabelTo2" runat="server" Text="To" 
                                                meta:resourcekey="LabelTo2Resource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxTo2" runat="server" 
                                                MinValue="0" MaxValue="120" Value="60" ShowSpinButtons="true"
                                                Width="40" LabelCssClass="" 
                                                meta:resourcekey="RadNumericTextBoxTo2Resource1">
                                            <NumberFormat DecimalDigits="0" />    
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td>
                                            <telerik:RadTextBox ID="RadTextBoxVerbal2" runat="server" 
                                            Text="Employee should work harder" Width="300" LabelCssClass="" 
                                                meta:resourcekey="RadTextBoxVerbal2Resource1"></telerik:RadTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label5" runat="server" Text="From" 
                                                meta:resourcekey="Label5Resource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxFrom3" runat="server" 
                                                MinValue="0" MaxValue="120" Value="61" ShowSpinButtons="true"
                                                Width="40" LabelCssClass="" 
                                                meta:resourcekey="RadNumericTextBoxFrom3Resource1">
                                            <NumberFormat DecimalDigits="0" />    
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="Label6" runat="server" Text="To" 
                                                meta:resourcekey="Label6Resource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxTo3" runat="server" 
                                                MinValue="0" MaxValue="120" Value="80" ShowSpinButtons="true"
                                                Width="40" LabelCssClass="" 
                                                meta:resourcekey="RadNumericTextBoxTo3Resource1">
                                            <NumberFormat DecimalDigits="0" />    
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td>
                                            <telerik:RadTextBox ID="RadTextBoxVerbal3" runat="server" 
                                            Text="Good Employee" Width="300" LabelCssClass="" 
                                                meta:resourcekey="RadTextBoxVerbal3Resource1"></telerik:RadTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label7" runat="server" Text="From" 
                                                meta:resourcekey="Label7Resource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxFrom4" runat="server" 
                                                MinValue="0" MaxValue="120" Value="81" ShowSpinButtons="true"
                                                Width="40" LabelCssClass="" 
                                                meta:resourcekey="RadNumericTextBoxFrom4Resource1">
                                            <NumberFormat DecimalDigits="0" />    
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="Label8" runat="server" Text="To" 
                                                meta:resourcekey="Label8Resource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxTo4" runat="server" 
                                                MinValue="0" MaxValue="120" Value="100" ShowSpinButtons="true"
                                                Width="40" LabelCssClass="" 
                                                meta:resourcekey="RadNumericTextBoxTo4Resource1">
                                            <NumberFormat DecimalDigits="0" />    
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td>
                                            <telerik:RadTextBox ID="RadTextBoxVerbal4" runat="server" 
                                            Text="Great Employee" Width="300" LabelCssClass="" 
                                                meta:resourcekey="RadTextBoxVerbal4Resource1"></telerik:RadTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label9" runat="server" Text="From" 
                                                meta:resourcekey="Label9Resource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxFrom5" runat="server" 
                                                MinValue="0" MaxValue="120" Value="101" ShowSpinButtons="true"
                                                Width="40" LabelCssClass="" 
                                                meta:resourcekey="RadNumericTextBoxFrom5Resource1">
                                            <NumberFormat DecimalDigits="0" />    
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="Label10" runat="server" Text="Max" 
                                                meta:resourcekey="Label10Resource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="Label11" runat="server" Text="120" 
                                                meta:resourcekey="Label11Resource1" ></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadTextBox ID="RadTextBoxVerbal5" runat="server" 
                                            Text="Excelent Employee" Width="300" LabelCssClass="" 
                                                meta:resourcekey="RadTextBoxVerbal5Resource1"></telerik:RadTextBox>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelPKPIs" runat="server" 
                                meta:resourcekey="RadAjaxLoadingPanelPKPIsResource1" >
                            </telerik:RadAjaxLoadingPanel>
                            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" 
                                LoadingPanelID="RadAjaxLoadingPanelPKPIs" 
                                meta:resourcekey="RadAjaxPanel1Resource1">
                            
                             <telerik:RadGrid ID="RadGridPersonalKPIs" runat="server" 
                                CellSpacing="0"  
                                GridLines="None" AutoGenerateColumns="False" DataSourceID="EntityDataSourcePKPIs" 
                                OnInsertCommand="RadGridPersonalKPIs_InsertCommand"
                                OnUpdateCommand="RadGridPersonalKPIs_UpdateCommand"
                                OnDeleteCommand="RadGridPersonalKPIs_DeleteCommand"
                                OnItemDataBound="RadGridPersonalKPIs_ItemDataBound" 
                                        ondatabound="RadGridPersonalKPIs_DataBound" 
                                    meta:resourcekey="RadGridPersonalKPIsResource1">
        
                                <MasterTableView DataKeyNames="Personal_KPI_ID" DataSourceID="EntityDataSourcePKPIs" ShowFooter="true"
                                        CommandItemDisplay="Top">
                                    <Columns>
                                        <telerik:GridBoundColumn DataField="KPI.Name" 
                                            FilterControlAltText="Filter KPI.Name column" HeaderText="KPI" 
                                            ReadOnly="True" SortExpression="KPI.Name" UniqueName="KPI.Name" 
                                            meta:resourcekey="GridBoundColumnResource1">
                                        </telerik:GridBoundColumn>
            
                                        <telerik:GridBoundColumn DataField="Personal_KPI_ID" DataType="System.Int32"  Visible="false"
                                            FilterControlAltText="Filter Personal_KPI_ID column" 
                                            HeaderText="Personal_KPI_ID" ReadOnly="True" SortExpression="Personal_KPI_ID" 
                                            UniqueName="Personal_KPI_ID" meta:resourcekey="GridBoundColumnResource2">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Name" 
                                            FilterControlAltText="Filter Name column" HeaderText="Name" 
                                            SortExpression="Name" UniqueName="Name" 
                                            meta:resourcekey="GridBoundColumnResource3">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Description" 
                                            FilterControlAltText="Filter Description column" 
                                            HeaderText="Description"   Visible="false"
                                            SortExpression="Description" UniqueName="Description" 
                                            meta:resourcekey="GridBoundColumnResource4">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="User_FK" DataType="System.Int32"  Visible="false"
                                            FilterControlAltText="Filter User_FK column" HeaderText="User_FK" 
                                            SortExpression="User_FK" UniqueName="User_FK" 
                                            meta:resourcekey="GridBoundColumnResource5">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="KPI_FK" DataType="System.Int32"  Visible="false"
                                            FilterControlAltText="Filter KPI_FK column" HeaderText="KPI_FK" 
                                            SortExpression="KPI_FK" UniqueName="KPI_FK" 
                                            meta:resourcekey="GridBoundColumnResource6">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Measure" 
                                            FilterControlAltText="Filter Measure column" HeaderText="Measure" 
                                            SortExpression="Measure" UniqueName="Measure" 
                                            meta:resourcekey="GridBoundColumnResource7">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="MeasureType" Visible="false"
                                            FilterControlAltText="Filter MeasureType column" HeaderText="MeasureType" 
                                            SortExpression="MeasureType" UniqueName="MeasureType" 
                                            meta:resourcekey="GridBoundColumnResource8">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="CurrentValue" DataType="System.Int32" 
                                            FilterControlAltText="Filter CurrentValue column" HeaderText="CurrentValue" 
                                            SortExpression="CurrentValue" UniqueName="CurrentValue" 
                                            meta:resourcekey="GridBoundColumnResource9">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="StartValue" DataType="System.Int32" 
                                            FilterControlAltText="Filter StartValue column" HeaderText="StartValue" 
                                            SortExpression="StartValue" UniqueName="StartValue" 
                                            meta:resourcekey="GridBoundColumnResource10">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="TargetValue" DataType="System.Int32" 
                                            FilterControlAltText="Filter TargetValue column" HeaderText="TargetValue" 
                                            SortExpression="TargetValue" UniqueName="TargetValue" 
                                            meta:resourcekey="GridBoundColumnResource11">
                                        </telerik:GridBoundColumn>
            
                                        <telerik:GridBoundColumn DataField="Percentage" 
                                            FilterControlAltText="Filter Percentage column" HeaderText="Percentage" 
                                            ReadOnly="True" SortExpression="Percentage" UniqueName="Percentage" 
                                            meta:resourcekey="GridBoundColumnResource12">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Weight" DataType="System.Int32" 
                                            FilterControlAltText="Filter Weight column" HeaderText="Weight" 
                                            SortExpression="Weight" UniqueName="Weight" 
                                            meta:resourcekey="GridBoundColumnResource13">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridButtonColumn Text="Edit" CommandName="Edit" 
                                            meta:resourcekey="GridButtonColumnResource1" >
                                        </telerik:GridButtonColumn>
                                        <telerik:GridButtonColumn Text="Delete" CommandName="Delete" 
                                            meta:resourcekey="GridButtonColumnResource2" >
                                        </telerik:GridButtonColumn>
                                    </Columns>
    
                                <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>

                                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                                </RowIndicatorColumn>

                                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                                <HeaderStyle Width="20px"></HeaderStyle>
                                </ExpandCollapseColumn>

                                <EditFormSettings EditFormType="WebUserControl" UserControlName="~/UserControls/Details/PKPIDetails.ascx">
                                <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
                                </EditFormSettings>
                                </MasterTableView>

                                <FilterMenu EnableImageSprites="False"></FilterMenu>

                                <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
        
                            </telerik:RadGrid>
                            <asp:HiddenField ID="HiddenFieldTotalWeights" runat="server" Value="0"/>
                                   <div style="float:right">
                                   <asp:Label ID="LabelValidatorTotalWeights" runat="server" ForeColor="Red"
                                   Visible="false" Text="Sum Of Weights must be 100%" 
                                           meta:resourcekey="LabelValidatorTotalWeightsResource1" ></asp:Label>
                                    <telerik:RadButton ID="RadButtonAssignEvenWeights" runat="server" 
                                        Text="Assign Weights Evenly"  
                                        onclick="RadButtonAssignEvenWeights_Click" 
                                           meta:resourcekey="RadButtonAssignEvenWeightsResource1">
                                    </telerik:RadButton>
                                    </div>
                            </telerik:RadAjaxPanel>
                                <%--<asp:EntityDataSource ID="EntityDataSourceUsersPKPIsWeights" runat="server" 
                                    ConnectionString="name=BSCEntities" DefaultContainerName="BSCEntities" 
                                    EnableFlattening="False" EntitySetName="Users" Include="Personal_KPI" >
                                </asp:EntityDataSource>--%>

                                <asp:EntityDataSource ID="EntityDataSourcePKPIs" runat="server" 
                                    ConnectionString="name=BSCEntities" DefaultContainerName="BSCEntities" 
                                    EnableFlattening="False" EntitySetName="Personal_KPI" Include="KPI" 
                                    Where="it.User_FK = @user_FK">
                                    <WhereParameters>
                                        <asp:ControlParameter ControlID="HiddenFiledEmployeeID" DbType="Int32" 
                                            DefaultValue="0" Name="user_FK" PropertyName="Value" />
                                    </WhereParameters>
                                </asp:EntityDataSource>
                                <asp:EntityDataSource ID="EntityDataSourceKPIs" runat="server" 
                                    ConnectionString="name=BSCEntities" DefaultContainerName="BSCEntities" 
                                    EnableFlattening="False" EntitySetName="KPIs" Select="it.[KPI_ID], it.[Name]">
                                </asp:EntityDataSource>

                                <asp:PlaceHolder ID="PlaceHolderEvaluatePKPIs" runat="server" >
                            
                            </asp:PlaceHolder>
                        </div>

                    </fieldset>
                </asp:Panel>
            </div>
        </fieldset>
    
    </asp:PlaceHolder>
    <asp:PlaceHolder ID="PlaceHolderCompetenciesPart" runat="server" 
        Visible="False" >
        
        <fieldset>
        General Competencies
            <asp:PlaceHolder ID="PlaceHolderCategories" runat="server" > 
            <%--<bsc:EvaluationQuestionCategory ID="EQC" runat="server" IsEditMode="false" />--%>
    <%--
            <bsc:EvaluationQuestionCategoryEvalMode ID="ta" runat="server" ></bsc:EvaluationQuestionCategoryEvalMode>--%>
            </asp:PlaceHolder>
        </fieldset>
    </asp:PlaceHolder>
    <asp:PlaceHolder ID="PlaceHolderRewardPart" runat="server" Visible="False" >
        <fieldset>
            <div>
                <asp:Label ID="LabelReward" runat="server" Text="Reward" 
                    meta:resourcekey="LabelRewardResource1"></asp:Label>
                    <fieldset>
                        <div>
                            <asp:Label ID="LabelHowToReward" runat="server" 
                            
                                Text="Employees can calculate their potential Bonus in Evaluation - Bonus section" 
                                meta:resourcekey="LabelHowToRewardResource1">
                            </asp:Label>
                        </div>
                    </fieldset>
                


                <%--<asp:Panel ID="PanelReward" runat="server" Visible="false" >--%>
                    <%--<asp:Label ID="LabelReward" runat="server" Text="Reward"></asp:Label>
                    <fieldset>
                        <div>
                            <asp:Label ID="Label1" runat="server" 
                            Text="This Part serves for conditional rewarding system">
                            </asp:Label>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Label ID="LabelTestOnly" runat="server" 
                                        Text="For Testing Purpose Only">
                                        </asp:Label>
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="CheckBoxTestOnly" runat="server" ToolTip="Is it real or testing reward system?" />
                                    </td>
                                </tr>
                            </table>
                            <br /><br />
                            <asp:Panel ID="PanelRewardPKPISettings" runat="server" Visible="false" >
                                <asp:Label ID="Label2" runat="server" 
                                        Text="Settings for Personal KPI achievment">
                                        </asp:Label>
                                        <br /><br />
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label3" runat="server" 
                                            Text="Reward From Score">
                                            </asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxPKPIsFrom" runat="server" 
                                                MinValue="0" MaxValue="120" Width="30" Value="80">
                                                <NumberFormat DecimalDigits="0" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td style="padding-left:20px">
                                            <asp:Label ID="Label12" runat="server" 
                                            Text="Bonus Percentage From">
                                            </asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxMinCoef" runat="server" 
                                                MinValue="0" MaxValue="100" Width="30" Value="5"
                                                Type="Percent">
                                                <NumberFormat DecimalDigits="0" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label4" runat="server" 
                                            Text="Reward To">
                                            </asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="Label13" runat="server" 
                                            Text="120">
                                            </asp:Label>
                                        </td>
                                        <td style="padding-left:20px">
                                            <asp:Label ID="Label14" runat="server" 
                                            Text="Bonus Percentage To">
                                            </asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxMaxCoef" runat="server" 
                                                MinValue="0" MaxValue="100" Width="30" Value="15"
                                                Type="Percent">
                                                <NumberFormat DecimalDigits="0" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            <br />
                            <asp:Panel ID="PanelRewardCompetenciesSetting" runat="server" Visible="false" >
                                <asp:Label ID="Label15" runat="server" 
                                        Text="Settings for General Competencies achievement">
                                        </asp:Label>
                                        <br /><br />
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label16" runat="server" 
                                            Text="Reward Top">
                                            </asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxCompetencyTop" runat="server" 
                                                MinValue="0" MaxValue="100" Width="30" Value="10" Type="Percent">
                                                <NumberFormat DecimalDigits="0" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td>
                                            <asp:Label ID="Label17" runat="server" 
                                            Text="Employees">
                                            </asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="Label20" runat="server" 
                                            Text="Bonus Percentage">
                                            </asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadNumericTextBox ID="RadNumericTextBoxCompetencyCoef" runat="server" 
                                                MinValue="0" MaxValue="100" Width="30" Value="10"
                                                Type="Percent">
                                                <NumberFormat DecimalDigits="0" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </div>
                    </fieldset>--%>
                <%--</asp:Panel>--%>
            </div>
        </fieldset>
    
    </asp:PlaceHolder>
    <asp:PlaceHolder ID="PlaceHolderOveralEval" runat="server">
        <fieldset>
            <table>
                <tr>
                    <td valign="top">
                        <asp:Label ID="LabelOveralEvaluatorEval" runat="server" 
                            Text="Overal Evaluator Evaluation" 
                            meta:resourcekey="LabelOveralEvaluatorEvalResource1" ></asp:Label>
                    </td>
                    <td>
                        <telerik:RadTextBox ID="RadTextBoxOveralEvaluatorEval" runat="server" TextMode="MultiLine"
                        Height="50" Width="600" Enabled="true" LabelCssClass="" 
                            meta:resourcekey="RadTextBoxOveralEvaluatorEvalResource1">
                        </telerik:RadTextBox>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <asp:Label ID="LabelEmployeeReaction" runat="server" Text="Employee Reaction" 
                            meta:resourcekey="LabelEmployeeReactionResource1" ></asp:Label>
                    </td>
                    <td>
                        <telerik:RadTextBox ID="RadTextBoxEmployeeReaction" runat="server" TextMode="MultiLine"
                        Height="50" Width="600" Enabled="true" LabelCssClass="" 
                            meta:resourcekey="RadTextBoxEmployeeReactionResource1">
                        </telerik:RadTextBox>
                    </td>
                </tr>
            </table>
            
        </fieldset>
    </asp:PlaceHolder>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" 
        meta:resourcekey="ValidationSummary1Resource1" />
    <telerik:RadButton ID="RadButtonEvaluate" runat="server" Text="Evaluate" 
        onclick="RadButtonEvaluate_Click" 
        meta:resourcekey="RadButtonEvaluateResource1"></telerik:RadButton>
    <telerik:RadButton ID="RadButtonConfirmInterview" runat="server" Text="Confirm Interview" 
    onclick="RadButtonConfirmInterview_Click" 
        meta:resourcekey="RadButtonConfirmInterviewResource1"></telerik:RadButton>
    <telerik:RadButton ID="RadButtonSave" runat="server" Text="Update Evaluation"
    onclick="RadButtonChange_Click" meta:resourcekey="RadButtonSaveResource1">
    </telerik:RadButton>
    <telerik:RadButton ID="RadButtonCancel" runat="server" Text="Cancel"
    onclick="RadButtonCancel_Click" meta:resourcekey="RadButtonCancelResource1"></telerik:RadButton>
    <telerik:RadButton ID="RadButtonBack" runat="server" Text="Back" Visible="False"
    onclick="RadButtonBack_Click" meta:resourcekey="RadButtonBackResource1"></telerik:RadButton>
    <telerik:RadButton ID="RadButtonDelete" runat="server" Text="Delete"
    onclick="RadButtonDelete_Click" meta:resourcekey="RadButtonDeleteResource1"></telerik:RadButton>
    <br /><br /><br /><br />
</div>

</asp:Content>
